package com.java.base.test;

import org.junit.Test;

import java.util.regex.Pattern;

/**
 * @author zhr
 */
public class ReT {
    @Test
    public void t01() {
        System.out.println(Pattern.compile("^(\\d+)(.*)").matcher("43578437").matches());
        System.out.println(Pattern.compile("^(\\d+)(.*)").matcher("435dsfhueiwh78437.014545").matches());
    }
}
